working display ... with memoryleak