wrap code

According to #44