added FIXME
made UI global