Added `formatDuration` and `startsWith` functions
Minor edit
Minor edits