changed input parameters of timer and uplink functions