support backwards compatibility