some jee7 and log stuff