moving a function fixed the bug *fakes shooting self in face*