* add some argument checking to