add input validation
update readme with output examples