removed dubug code