Description:
implemeted loging