B functionality
A functionality with ball extra credit