Val now works as intended