Added more functionlality to price calculator