working progress on 1.c