$data is not used in the this method. Do we need to pass this variable and has some manipulation here?