Tidied another code snippet.