moving memory store below extend to inherit