Removed duplicate param-declaration and int-cast