Added out parameters