add a slow checking algorithm