tried to make the incoming controller work correctly.