added index, create, store functions for runs