Finished up memory things