pipeline commands refactored