added genPass