add some decorators to view