Changed logic more
Merge remote-tracking branch 'origin/master'