changed functionality of changing name