Edited plage logic