lib model used in clients controller