What flexibility does state have in implementing federal laws?