no need to pass object by reference