functions rewrite 1_0_1