added Math.round functionality