This should be in the "if" block, otherwise it's useless