small controller optimization