added A2, fk. Use conf.m to configure