added synchronized static method example