updated for use with mysageone