code relative to APP added