basic memory only constructor