Added code for monitoring