Added some category db stuff