added highlight and set viewport