Define self variable locally