added pseudocode for video refreshing, comments