added second strategy
some tests
fixed setting file save