Added tostring to make code and debugging easier.