globalized some more viz functions into methods