mod some code