porthack implemented