edited method name and remove excess whitespace