restore backwards compatbility