add index method to store moel with different indexes