created memory prototype