added screenshot method to top level module