adding call in class