Added method value so as to return correct value