changed some naming stuff, added recieve function