refactored check
removed price