adapt to new project struct