Changed checking function