version 1
parameter rename
threading and logging changes