Using callback variable