added basic display code