different way to set val