fixed formatting and function name