Added pseudo code for date manipulations