add not yet working chip lock function
change console to scroll correctly