Implemented the Direct API