display code is usable... will be refined later