changed function calls