added more examples at bottom. Cleaned/refactored done function