received code working properly