removed commented lines
removed unused serial
changed visibility of delegate for extension by compass