using colon and each