Wrote my controller, have no idea what is going on