the val needs to be typed as str