renamed marg to app