added elapsed to gains