adding the stringify method