Added this to needsInput