implemented more of the specifications of the retrieval part of the ASTP Server