Exploration of Strategy pattern