added total and available memory getters