programming assignment try 1