some bugfixes
first basic example