put in place check for value error