completing problem #1