hilariously complex, therefore suitable for exercising layout algorithms 