Inputfunction fix and added production rule for dummies