proj3 initial code