fully understand how the code we copied from the internet works