Hoework Model and some fixes