switched to using AEB timer code