added Math.round to mapping