Added auto name method