able to pass an integer through delegate from view to View Controller