correctly stores all info