made # of sides more dynamic