adding ofs and increasing h to 18