removed unused code. Added new pipe to settings