add void type to function definition