remove orphaned code
add profile view and link to it in the encoding view