do some code structure stuff