Saving brain now implemented