trying to get comparison correct