adding mockobject code