Modified double_view in order to satisfy PEP8