depth filter
styles function