Removed unused method parameter
Fixed debugging messages