modified the choro package