added missing semi-colon in function decalartion