corrected singleton method syntax