got the basic foundation working