game loops but controller seems to do nothing