Removed useless line
Removed unused parameter