fix wrong readme instructions, adding necessary helper functions
imports.