Please add a short note what val could be like, so users of this method do not have to parse all the code to learn what content val can be.