Reference controller