propert indenting
updated for 4.0.0