Adding arrival funcionality and request handling.