@bcipolli , @aronasorman  
I am not sure which functions and import are required, so suggest