changed functions to void
fix fix fix