assert loc!=null