mem and cpu monitoring added