adding output curr and prev image functionalities