switched from using int in class to using long, suggestion from tigoe --KW