Documentation for prepare