write program very ^Cfectively and carefully