there is my misc code.