Fixed illegal function error...