compiling receiver

still need to check whether it works