initial import of existing code