add log class

need further coding