changed the data type to int