Add blur function with parameters validation