draft implementation, based on build-flow plugin's view