made Equipment a class instead of list