started on logic and worked on structure