removed debugging rprint statments