Change data type for parameter to a boolean