attempted to rewrite the program test.py to get it working. Kept recieving error 'int' object is not callable.
testing again...