THIS WORKS FOR BOTH STR AND LIST!!!