finished coding for 1st release