working on implementing css-display as a protocol/type