fixed answer for #1