finished coding 1c