Some utils method