updated README, dots looping, cleaned up code