frst try basis calc