very first version

misses some planned functions