removed obsolete code, changed n:true to n:1