adding price function for under 50 and over 2999