removed main-method used for testing