can't believe i just spent 20 minutes debugging a bug that was literally just a missing semicolon.