Added polygon class