Worked on contracts and Activity hierarchy