implment pipeline and proxy factory