Removed unused method and created a new more semantic static method as a utility