wrap problem in begin statement