added ugls
merge
added exit
added cycle