implemented last check