skipped whitespaces, added more input warning