adding begin and end Wrap method for overloading wrapper