Feature/ref int ext