clean up syntax
update SampleController and make tests pass