removed getExtra method from view as not needed