The indentation of this function seems to be a little bit messy. Would you please clean up following julia's four-space convention.