alright, I didn't test `val[]` correctly. I'll fix this so it works for `val[Any]` and remove the `val[]` syntax