implemented adjustable memory