format
bug fixes
load text from file