removed object display code