problem c updated