changed logic to pull out idea from message