updates to clt code