Added create and index