added trap_view interface and e.t.c