added tags searching
smartindent is odd in python