moving code to notebok

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>