pass name to set singleton