load preliminary code