Added lagger compile options + _ unsued var to get rid of compilation warn