splitting logik needs to be reinvented.
added unfinished crypto.