started working on polygon methods