Is it OK that creating a special timeSelector which always returns 0 to remove this duplicated codes?