updated for Meteor 1.0