stupid code.