Cleared all warnings and erros