reworking add list title function