Removed imports and fixed index bug