costume search implemented, minor fixes