got rid of non-working print function, also fixed a testing error