added more clarification code