forgot to add toJSON