initial stuff
intial move of code over