Implement prompt and test.