changes the memory label
Steps towards resolving the cast problem