getting the basics working
updating deprecated calls
removing unnessary code