excluded code not working