added index
added migratinos