added loglib