working on getitng data loading to work, renamed type to etype