basics from https://www.youtube.com/watch?v=jySpg72Vbc4 course