Added outline for cond statment to handle incoming text