Added ability to pull categories