'6' seems to be a magic number here. I believe the code could benefit from an explanation about where this value comes from or a calculation that yields to this value