removed trace statements