Loop works, list working