added read and save and remove functions