added utils method