import of code as of 2008-11-06