restraints to external file should work now