changed everything! all working, just need to write slides