Added first basic function for monitoring