added pseudocode and user stories