added some sudo code comments for future ref