just a warning...
this header / functions needs massive refactoring..
so u could save ur time =)