Added TabComp function
Removing trailing spaces