Create self-invoking