receive method