add composer, add index