better refresh
moving codedisplay to own lass