working on cust.

Work in progress.