added new calculate price methof