duration value can now be saved to db