added controller populating methods for testing