enable command chaining
trigger theme() after DOM appending
updated pseudocode