Simplified api and the flow