search works with imported classes