began working on function externs