README updated
Proper input validation