clean copypaste of magnars repo