turned functions back to void functions