Updated to add simple input and make act call.