add in a dry run function