Use of list_to_binary/integer_to_list for compat with earlier Erlang versions