added categories to functions for testing