Added init to main