Not fully working code, uploaded so I may continue at work