updated gems; added indicies for activity