starting to implement receiving