draft of qqplot function