Working imem. Fixing pc_next