first function to add entries is working

Signed-off-by: TheTesla <stefan.helmert@gmx.net>