wrap in a try statement