added a bunch of inplace mapping functions