added 2 wrapped functions