updated for recieved tag