refctors check