passing test and findSpace fxn