getting basic functunality working