If you are new to ruby, you can read more about blocks here