Implemented stuff so that clarke can do his stuff now.