refactoring, proj 9 still not working