added duration plugin
added duration plugin