working with list directive