Added Bredahult code