changed has syntax to old style