added calc to input