solved Martens task, hopefully successful