python alogthums that need to be written up