implemented input verification etc