Add save function
 * Implement Lolo's function to save