Updated file with actual functions and comments.