initial milestone2. implemented add_preamble