adding snapshot for taking user input