updates to inputfunctions