new function to show tab and space