creating pitcher class