messing with status var in wrapper func