changes to wrapper