add backwards compatibility