INPUT DETERMINES OUTPUT