try to code the strategy