sim1a and 1b, work in progress