List works, but not in proper way