don't handle keywords if function is extern, add keyword test