first commit of real code, singleton working.