added quartile method