accept inputs