header corrected, basic functionalty working