Why put 6 here?  Why not just hardcode 6 in the function?