Ensured that value error is thrown