extended part of simple buying strategy (but it's not finished yet)