added init and unused warnings