maximizing input