added new function to change lenght comps