added divsum and fctrl codes