Working partial from variable