add singleton example