updated for new sails