fix pentagonal class