draft of ploting credit data