changed position datatype