Final code Hqlite