adding logical comments