seemed to work added consol logs to validate