better commented code