improved spirograph and Date sorting implemented