added return type & parameters for method