how to use this class