new code with commets