Adding comments about what the functions do