completed controller & scope exercises