* added return value to the method snippet