add state machine for advertisements