renamed task to check