added attribute for length ** 2