Added init to component