determine the work functions of