made generic input the default case