assign display type