Remove unused function
Working reading from memory