Added new sample "synchronizing a method"