ui: rearrange methods
added printf builtin