warning about over used singleton