somehow the read code did not make it to the repo. its in bad shape. don't have tym to add exception every damn bloody class. need to clean this mess later