added magnitude