selected customer cached in variable