add round curves functionality