added receiving incoming variables