Dealing with pupils with attachment difficulties