factoring out Display