1. warning message for invalid input 2. mutiple input formats support