use thread lib even when using 1 thread only
added acknowledgement