made preamble be used like a function as it has already been committed twice...