DEbut logique not working