renamed opt code new to new_