finished basic functionality w/ test script