Fixed identation and added method description