added basic display logic
basic logic to handle display module