Init on anonymouse function