Finalised the Flash. It is working as exxpected