malloc'ed the ball and paddle factories