void functions now working