added basic monitoring