price calc method working