Can calculate inputted values