using module functions instead of arrays indexes and hash keys in divs processing