simple view
Added pdf support with bad performance