updated malloc to include get_mem