add singinal class for mongodb