I have removed the function and done its job online