added functionality in the view