implemented recv constructor