add pwd to check