added all necessary parameters and errors are catched properly. they are already in the wrapper 'thumbwriter'. now the functions have to be implemented