also store objects in register, avoid the whole object_id thing which just lead to unclarity about class