added loc model method