modify views.py structure