required for input