better formatted categories and locations. shoud methodise this