working towards basic functionaility