pass name from variable