Modified some code on "frum" and "microdrill"