updated help and check of input