Self-invoking function added