add lines of code and some more thoughts