profile_len functional