add pe, first approach