it seems like this if statement is never used.