create method with default vertex value not working for parametrized type