example inputs added, input funcs working