added spacing test
added origin offset functions