renamed file and tabTrigger changed to function