build series in correct order