change input patten to use eval
add try-catch error handling
bump version to 0.1.2