latest working test before algorithim class