supressing warnings that are pointless