finished the core exercise