Removed unnecessary save function