got back to my original code without tabs