old commented code