replaced send with __send__