adding a bit more code comments