moving prints to log, returning val from arbconfig