added editLayer