Add init to structure