My misc utils