trying to fix pointer again