added controller logic

woohoo!  commit 2