Removed unused variable
Removed unused imports and changed !channels a little bit