price checking implemented but not fully tested