date struct learning about map