was copied from the v1 controllers, but i guess that makes sense