got the base framework all working