removed test printing code