day 2 added another function