ne need to take the actual length into account