drop template code