Syntax fix, make a nested condition compound