Trail and admin codes