cleaned up pipeline