added visual key tracking