same functions but now with comments