replaces deprecated options