semi-working version
fixed display / logging sizes