new way to instantiate controller