can give initialzer option for complex object