changes lists to tuples so they can't be modified