migrated duration to integers for simplicity