added meminfo()