needed update of this to have correct main