functions within objects indent properly