made prototype options ported some prime-ext functions