titan limilation: key, index have to be created before they were used