Added a strategy pattern.
Added a strategy as function comment.