changed if statement to send to demo