added functionality for function comments
prevented infinite recusion in indent function