better presence detection
set the reply to as an int