updated function calls