provided method for backwards compatibility