log and h required lib