added resume support to the view