removed debugging echo statements