added simple check function and readme update