Altered registerIP prototype