make variables more readable
remove rg_bb-related layout code