ca basic structure working