Hack functions and their explanation - MPGH