trying to get local python functionality