improving barclamp model