moved getdata from module to public for viewer access