commented out rem function for time being