~ added minor docu
~ removed unnecessary code
~ removed type stuff