version 1.06: working version