This seems redundant? just return num_of_legs regardless