Adding user visual feedback function