final revision by Vahid