commented out test() method as it was not working. Will deal with this at the end