init
first try of click
temp implementation of preprocess