lazy port edit