finish extension declaration