v 1.3

Added input validation