Changed name and added method sig

Changed the name and added an overloaded method signature for segment