dealing with imperfections