fixed indentation and improved usage