added hexagonal check