updates to import memoise correctly