add relay but not working