functions defined.