value error handling added