data displaying correctly