Resolved Bug. Old definition of display_data() was used leading to errors