pattern for dates + toggle frederik