some object-c tools class