work on binary string
add exeptions
refactoring, add attachments