Init function made self invoked