modified the check module to handle great data