need to use correct syntax with type of comparison