modified code of fake wrapper