trying to fix output