added create_manhole function