fixed comments
changed conventions to reflect long -> len_t