removed deprecated function and debug option