fixed indentation, flags