added toString method for debugging purpose