Use lambda functions for setting indentation