This line is repeated several times in the code above.  We need to only make this call once instead of 3 times.