changed data type to remove warning