Added quad class