Solve this puzzle?

saw this on Facebook and cant figure it out.

Insert the numbers 1 -8 in the eight boxes, one digit to a box, in a manner that no consecutive numbers next to each other horizontally, vertically, and diagonal.

this is what the box looks like.

1
2 3 4
5 6 7
8

ive tried 50 times!
 
Top