implemented nicer command line answer