removed un necessary intval call on function parameter.