changed init api and added category10 colors