Implemented the skeleton.