rough code structures