added method to make screenshots