acting as a substitute

See: vicarious