Had to change emplace to insert as method is not available on my machine