broke drawing captured pieces into it's own function