added necessary imports in views