convert to using loglet