removed init/deinit function declarations
fixed indentation
removed unused variable 'it'