add screenshot method