Now working to operate multiple times