working on displaying different types