now possible to create a basis, but not yet in right orientation
gonna work on cleaning up the main