Added logic for processing Ideas and Handles