updates to primitive wrappers