Added pseudocode for Database methods