Revamped and added Clear all terminals