initial import of public version