adding input for current cost