formatting and function name changed

formatting and function name changed