add back in functional trimIndents function