minor refactor to the proper meteor style