reference tidyup