simpler indentation function