need to use the right type to pass to the delay func