implemented constant values for the input