big styling code dump