better debug
simple cases work