added comments and accessor methods to receiver