Added var to wrong funciton :|