arup code is ugly as hell