update to call functions