made take survey button and functionality work