hacked ace code to make / search