Change aglorithm!!!
Test