Added rensa

Added rensa functionality with debug output.