Implemented the basics.