check the parents for plotting