updated hideNode function
merged commits