First crazy memory implementation.