ADDED the initial code basis