cleaned code in receiving part
added receiving_part_test for demonstration / testing purposes