Changed method "getSource" to "getOutput"
Removed var's control, add breaks!
Removed other var's control