Client Code -  Multi Threading (minor modification)